<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pytils.test.test_translit</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pytils-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pytils-module.html">Package&nbsp;pytils</a> ::
        <a href="pytils.test-module.html">Package&nbsp;test</a> ::
        Module&nbsp;test_translit
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript: void(0);" class="privatelink"
    onclick="toggle_private();">hide private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pytils.test.test_translit-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="pytils.test.test_translit-module.html">Module pytils.test.test_translit</a></h1>
<pre class="py-src">
<span class="py-lineno">  1</span>  <span class="py-line"><span class="py-comment"># -*- coding: utf-8 -*-</span> </span>
<span class="py-lineno">  2</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># License: GNU GPL2</span> </span>
<span class="py-lineno">  3</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># Author: Pythy &lt;the.pythy@gmail.com&gt;</span> </span>
<span class="py-lineno">  4</span>  <span class="py-line"><span class="py-comment"></span><span class="py-docstring">"""</span> </span>
<span class="py-lineno">  5</span>  <span class="py-line"><span class="py-docstring">Unit-tests for pytils.translit</span> </span>
<span class="py-lineno">  6</span>  <span class="py-line"><span class="py-docstring">"""</span> </span>
<span class="py-lineno">  7</span>  <span class="py-line"> </span>
<span class="py-lineno">  8</span>  <span class="py-line"> </span>
<span class="py-lineno">  9</span>  <span class="py-line"><span id="link-0" class="py-name"><a title="pytils.__id__
pytils.dt.__id__
pytils.numeral.__id__
pytils.templatetags.__id__
pytils.templatetags.pytils_dt.__id__
pytils.templatetags.pytils_numeral.__id__
pytils.templatetags.pytils_translit.__id__
pytils.test.__id__
pytils.test.test_dt.__id__
pytils.test.test_numeral.__id__
pytils.test.test_translit.__id__
pytils.test.test_utils.__id__
pytils.translit.__id__
pytils.utils.__id__" class="py-name" href="#" onclick="doclink('link-0', '__id__', 'Variable pytils.__id__=pytils-module.html#__id__,Variable pytils.dt.__id__=pytils.dt-module.html#__id__,Variable pytils.numeral.__id__=pytils.numeral-module.html#__id__,Variable pytils.templatetags.__id__=pytils.templatetags-module.html#__id__,Variable pytils.templatetags.pytils_dt.__id__=pytils.templatetags.pytils_dt-module.html#__id__,Variable pytils.templatetags.pytils_numeral.__id__=pytils.templatetags.pytils_numeral-module.html#__id__,Variable pytils.templatetags.pytils_translit.__id__=pytils.templatetags.pytils_translit-module.html#__id__,Variable pytils.test.__id__=pytils.test-module.html#__id__,Variable pytils.test.test_dt.__id__=pytils.test.test_dt-module.html#__id__,Variable pytils.test.test_numeral.__id__=pytils.test.test_numeral-module.html#__id__,Variable pytils.test.test_translit.__id__=pytils.test.test_translit-module.html#__id__,Variable pytils.test.test_utils.__id__=pytils.test.test_utils-module.html#__id__,Variable pytils.translit.__id__=pytils.translit-module.html#__id__,Variable pytils.utils.__id__=pytils.utils-module.html#__id__'); return false;">__id__</a></span></span> <span class="py-op">=</span> <span id="link-1" class="py-name"><a title="pytils.__revision__
pytils.dt.__revision__
pytils.numeral.__revision__
pytils.templatetags.__revision__
pytils.templatetags.pytils_dt.__revision__
pytils.templatetags.pytils_numeral.__revision__
pytils.templatetags.pytils_translit.__revision__
pytils.test.__revision__
pytils.test.test_dt.__revision__
pytils.test.test_numeral.__revision__
pytils.test.test_translit.__revision__
pytils.test.test_utils.__revision__
pytils.translit.__revision__
pytils.utils.__revision__" class="py-name" href="#" onclick="doclink('link-1', '__revision__', 'Variable pytils.__revision__=pytils-module.html#__revision__,Variable pytils.dt.__revision__=pytils.dt-module.html#__revision__,Variable pytils.numeral.__revision__=pytils.numeral-module.html#__revision__,Variable pytils.templatetags.__revision__=pytils.templatetags-module.html#__revision__,Variable pytils.templatetags.pytils_dt.__revision__=pytils.templatetags.pytils_dt-module.html#__revision__,Variable pytils.templatetags.pytils_numeral.__revision__=pytils.templatetags.pytils_numeral-module.html#__revision__,Variable pytils.templatetags.pytils_translit.__revision__=pytils.templatetags.pytils_translit-module.html#__revision__,Variable pytils.test.__revision__=pytils.test-module.html#__revision__,Variable pytils.test.test_dt.__revision__=pytils.test.test_dt-module.html#__revision__,Variable pytils.test.test_numeral.__revision__=pytils.test.test_numeral-module.html#__revision__,Variable pytils.test.test_translit.__revision__=pytils.test.test_translit-module.html#__revision__,Variable pytils.test.test_utils.__revision__=pytils.test.test_utils-module.html#__revision__,Variable pytils.translit.__revision__=pytils.translit-module.html#__revision__,Variable pytils.utils.__revision__=pytils.utils-module.html#__revision__'); return false;">__revision__</a></span></span> <span class="py-op">=</span> <span class="py-string">"$Id: test_translit.py 33 2006-10-28 07:14:40Z the.pythy $"</span> </span>
<span class="py-lineno"> 10</span>  <span class="py-line"><span id="link-2" class="py-name"><a title="pytils.__url__
pytils.dt.__url__
pytils.numeral.__url__
pytils.templatetags.__url__
pytils.templatetags.pytils_dt.__url__
pytils.templatetags.pytils_numeral.__url__
pytils.templatetags.pytils_translit.__url__
pytils.test.__url__
pytils.test.test_dt.__url__
pytils.test.test_numeral.__url__
pytils.test.test_translit.__url__
pytils.test.test_utils.__url__
pytils.translit.__url__
pytils.utils.__url__" class="py-name" href="#" onclick="doclink('link-2', '__url__', 'Variable pytils.__url__=pytils-module.html#__url__,Variable pytils.dt.__url__=pytils.dt-module.html#__url__,Variable pytils.numeral.__url__=pytils.numeral-module.html#__url__,Variable pytils.templatetags.__url__=pytils.templatetags-module.html#__url__,Variable pytils.templatetags.pytils_dt.__url__=pytils.templatetags.pytils_dt-module.html#__url__,Variable pytils.templatetags.pytils_numeral.__url__=pytils.templatetags.pytils_numeral-module.html#__url__,Variable pytils.templatetags.pytils_translit.__url__=pytils.templatetags.pytils_translit-module.html#__url__,Variable pytils.test.__url__=pytils.test-module.html#__url__,Variable pytils.test.test_dt.__url__=pytils.test.test_dt-module.html#__url__,Variable pytils.test.test_numeral.__url__=pytils.test.test_numeral-module.html#__url__,Variable pytils.test.test_translit.__url__=pytils.test.test_translit-module.html#__url__,Variable pytils.test.test_utils.__url__=pytils.test.test_utils-module.html#__url__,Variable pytils.translit.__url__=pytils.translit-module.html#__url__,Variable pytils.utils.__url__=pytils.utils-module.html#__url__'); return false;">__url__</a></span></span> <span class="py-op">=</span> <span class="py-string">"$URL: https://pythy.googlecode.com/svn/trunk/pytils/pytils/test/test_translit.py $"</span> </span>
<span class="py-lineno"> 11</span>  <span class="py-line"> </span>
<span class="py-lineno"> 12</span>  <span class="py-line"><span class="py-keyword">import</span> <span class="py-name">unittest</span> </span>
<span class="py-lineno"> 13</span>  <span class="py-line"> </span>
<span class="py-lineno"> 14</span>  <span class="py-line"><span class="py-keyword">import</span> <span id="link-3" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-3', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span> </span>
<span class="py-lineno"> 15</span>  <span class="py-line"> </span>
<a name="TranslitTestCase"></a><div id="TranslitTestCase-def"><span class="py-lineno"> 16</span> <a class="py-toggle" href="#" id="TranslitTestCase-toggle" onclick="toggle('TranslitTestCase'); return false;">-</a><span class="py-line"><span class="py-keyword">class</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html">TranslitTestCase</a><span class="py-op">(</span><span class="py-base-class">unittest</span><span class="py-op">.</span><span class="py-base-class">TestCase</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="TranslitTestCase-expanded"><span class="py-lineno"> 17</span>  <span class="py-line">    <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 18</span>  <span class="py-line"><span class="py-docstring">    Test case for pytils.translit</span> </span>
<span class="py-lineno"> 19</span>  <span class="py-line"><span class="py-docstring">    """</span> </span>
<span class="py-lineno"> 20</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.ckTransl"></a><div id="TranslitTestCase.ckTransl-def"><span class="py-lineno"> 21</span> <a class="py-toggle" href="#" id="TranslitTestCase.ckTransl-toggle" onclick="toggle('TranslitTestCase.ckTransl'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#ckTransl">ckTransl</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">,</span> <span class="py-param">in_</span><span class="py-op">,</span> <span class="py-param">out_</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.ckTransl-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.ckTransl-expanded"><span class="py-lineno"> 22</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 23</span>  <span class="py-line"><span class="py-docstring">        Checks translify</span> </span>
<span class="py-lineno"> 24</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 25</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertEquals</span><span class="py-op">(</span><span id="link-4" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-4', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-5" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-5', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-6" class="py-name"><a title="pytils.templatetags.pytils_translit.translify
pytils.translit.translify" class="py-name" href="#" onclick="doclink('link-6', 'translify', 'Function pytils.templatetags.pytils_translit.translify()=pytils.templatetags.pytils_translit-module.html#translify,Function pytils.translit.translify()=pytils.translit-module.html#translify'); return false;">translify</a></span></span><span class="py-op">(</span><span class="py-name">in_</span><span class="py-op">)</span><span class="py-op">,</span> <span class="py-name">out_</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 26</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.ckDetransl"></a><div id="TranslitTestCase.ckDetransl-def"><span class="py-lineno"> 27</span> <a class="py-toggle" href="#" id="TranslitTestCase.ckDetransl-toggle" onclick="toggle('TranslitTestCase.ckDetransl'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#ckDetransl">ckDetransl</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">,</span> <span class="py-param">in_</span><span class="py-op">,</span> <span class="py-param">out_</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.ckDetransl-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.ckDetransl-expanded"><span class="py-lineno"> 28</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 29</span>  <span class="py-line"><span class="py-docstring">        Checks detranslify</span> </span>
<span class="py-lineno"> 30</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 31</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertEquals</span><span class="py-op">(</span><span id="link-7" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-7', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-8" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-8', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-9" class="py-name"><a title="pytils.templatetags.pytils_translit.detranslify
pytils.translit.detranslify" class="py-name" href="#" onclick="doclink('link-9', 'detranslify', 'Function pytils.templatetags.pytils_translit.detranslify()=pytils.templatetags.pytils_translit-module.html#detranslify,Function pytils.translit.detranslify()=pytils.translit-module.html#detranslify'); return false;">detranslify</a></span></span><span class="py-op">(</span><span class="py-name">in_</span><span class="py-op">)</span><span class="py-op">,</span> <span class="py-name">out_</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 32</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.ckSlug"></a><div id="TranslitTestCase.ckSlug-def"><span class="py-lineno"> 33</span> <a class="py-toggle" href="#" id="TranslitTestCase.ckSlug-toggle" onclick="toggle('TranslitTestCase.ckSlug'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#ckSlug">ckSlug</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">,</span> <span class="py-param">in_</span><span class="py-op">,</span> <span class="py-param">out_</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.ckSlug-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.ckSlug-expanded"><span class="py-lineno"> 34</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 35</span>  <span class="py-line"><span class="py-docstring">        Checks slugify</span> </span>
<span class="py-lineno"> 36</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 37</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertEquals</span><span class="py-op">(</span><span id="link-10" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-10', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-11" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-11', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-12" class="py-name"><a title="pytils.templatetags.pytils_translit.slugify
pytils.translit.slugify" class="py-name" href="#" onclick="doclink('link-12', 'slugify', 'Function pytils.templatetags.pytils_translit.slugify()=pytils.templatetags.pytils_translit-module.html#slugify,Function pytils.translit.slugify()=pytils.translit-module.html#slugify'); return false;">slugify</a></span></span><span class="py-op">(</span><span class="py-name">in_</span><span class="py-op">)</span><span class="py-op">,</span> <span class="py-name">out_</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 38</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testTransliteration"></a><div id="TranslitTestCase.testTransliteration-def"><span class="py-lineno"> 39</span> <a class="py-toggle" href="#" id="TranslitTestCase.testTransliteration-toggle" onclick="toggle('TranslitTestCase.testTransliteration'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testTransliteration">testTransliteration</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testTransliteration-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testTransliteration-expanded"><span class="py-lineno"> 40</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 41</span>  <span class="py-line"><span class="py-docstring">        Unit-test for transliterations</span> </span>
<span class="py-lineno"> 42</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 43</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-13" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-13', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1090;&#1077;&#1089;&#1090;"</span><span class="py-op">,</span> <span class="py-string">'test'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 44</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-14" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-14', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072;"</span><span class="py-op">,</span> <span class="py-string">'proverka'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 45</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-15" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-15', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1090;&#1088;&#1072;&#1085;&#1089;&#1083;&#1080;&#1090;"</span><span class="py-op">,</span> <span class="py-string">'translit'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 46</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-16" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-16', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1087;&#1088;&#1072;&#1074;&#1076;&#1072; &#1083;&#1080; &#1101;&#1090;&#1086;"</span><span class="py-op">,</span> <span class="py-string">'pravda li eto'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 47</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-17" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-17', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1065;&#1091;&#1082;&#1072;"</span><span class="py-op">,</span> <span class="py-string">'Schuka'</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 48</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testTransliterationExceptions"></a><div id="TranslitTestCase.testTransliterationExceptions-def"><span class="py-lineno"> 49</span> <a class="py-toggle" href="#" id="TranslitTestCase.testTransliterationExceptions-toggle" onclick="toggle('TranslitTestCase.testTransliterationExceptions'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testTransliterationExceptions">testTransliterationExceptions</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testTransliterationExceptions-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testTransliterationExceptions-expanded"><span class="py-lineno"> 50</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 51</span>  <span class="py-line"><span class="py-docstring">        Unit-test for testing translify's exceptions</span> </span>
<span class="py-lineno"> 52</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 53</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertRaises</span><span class="py-op">(</span><span class="py-name">TypeError</span><span class="py-op">,</span> <span id="link-18" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-18', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-19" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-19', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-20" class="py-name"><a title="pytils.templatetags.pytils_translit.translify
pytils.translit.translify" class="py-name" href="#" onclick="doclink('link-20', 'translify', 'Function pytils.templatetags.pytils_translit.translify()=pytils.templatetags.pytils_translit-module.html#translify,Function pytils.translit.translify()=pytils.translit-module.html#translify'); return false;">translify</a></span></span><span class="py-op">,</span> <span class="py-number">25</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 54</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertRaises</span><span class="py-op">(</span><span class="py-name">ValueError</span><span class="py-op">,</span> <span id="link-21" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-21', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-22" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-22', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-23" class="py-name"><a title="pytils.templatetags.pytils_translit.translify
pytils.translit.translify" class="py-name" href="#" onclick="doclink('link-23', 'translify', 'Function pytils.templatetags.pytils_translit.translify()=pytils.templatetags.pytils_translit-module.html#translify,Function pytils.translit.translify()=pytils.translit-module.html#translify'); return false;">translify</a></span></span><span class="py-op">,</span> <span class="py-string">u'\u00bfHabla espa\u00f1ol?'</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 55</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testDetransliteration"></a><div id="TranslitTestCase.testDetransliteration-def"><span class="py-lineno"> 56</span> <a class="py-toggle" href="#" id="TranslitTestCase.testDetransliteration-toggle" onclick="toggle('TranslitTestCase.testDetransliteration'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testDetransliteration">testDetransliteration</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testDetransliteration-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testDetransliteration-expanded"><span class="py-lineno"> 57</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 58</span>  <span class="py-line"><span class="py-docstring">        Unit-test for detransliterations</span> </span>
<span class="py-lineno"> 59</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 60</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-24" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckDetransl" class="py-name" href="#" onclick="doclink('link-24', 'ckDetransl', 'Method pytils.test.test_translit.TranslitTestCase.ckDetransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckDetransl'); return false;">ckDetransl</a></span></span><span class="py-op">(</span><span class="py-string">'test'</span><span class="py-op">,</span> <span class="py-string">u"&#1090;&#1077;&#1089;&#1090;"</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 61</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-25" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckDetransl" class="py-name" href="#" onclick="doclink('link-25', 'ckDetransl', 'Method pytils.test.test_translit.TranslitTestCase.ckDetransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckDetransl'); return false;">ckDetransl</a></span></span><span class="py-op">(</span><span class="py-string">'proverka'</span><span class="py-op">,</span> <span class="py-string">u"&#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072;"</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 62</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-26" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckDetransl" class="py-name" href="#" onclick="doclink('link-26', 'ckDetransl', 'Method pytils.test.test_translit.TranslitTestCase.ckDetransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckDetransl'); return false;">ckDetransl</a></span></span><span class="py-op">(</span><span class="py-string">'translit'</span><span class="py-op">,</span> <span class="py-string">u"&#1090;&#1088;&#1072;&#1085;&#1089;&#1083;&#1080;&#1090;"</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 63</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-27" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckDetransl" class="py-name" href="#" onclick="doclink('link-27', 'ckDetransl', 'Method pytils.test.test_translit.TranslitTestCase.ckDetransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckDetransl'); return false;">ckDetransl</a></span></span><span class="py-op">(</span><span class="py-string">'SCHuka'</span><span class="py-op">,</span> <span class="py-string">u"&#1065;&#1091;&#1082;&#1072;"</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 64</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-28" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckDetransl" class="py-name" href="#" onclick="doclink('link-28', 'ckDetransl', 'Method pytils.test.test_translit.TranslitTestCase.ckDetransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckDetransl'); return false;">ckDetransl</a></span></span><span class="py-op">(</span><span class="py-string">'Schuka'</span><span class="py-op">,</span> <span class="py-string">u"&#1065;&#1091;&#1082;&#1072;"</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 65</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testDetransliterationExceptions"></a><div id="TranslitTestCase.testDetransliterationExceptions-def"><span class="py-lineno"> 66</span> <a class="py-toggle" href="#" id="TranslitTestCase.testDetransliterationExceptions-toggle" onclick="toggle('TranslitTestCase.testDetransliterationExceptions'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testDetransliterationExceptions">testDetransliterationExceptions</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testDetransliterationExceptions-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testDetransliterationExceptions-expanded"><span class="py-lineno"> 67</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 68</span>  <span class="py-line"><span class="py-docstring">        Unit-test for testing detranslify's exceptions</span> </span>
<span class="py-lineno"> 69</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 70</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertRaises</span><span class="py-op">(</span><span class="py-name">TypeError</span><span class="py-op">,</span> <span id="link-29" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-29', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-30" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-30', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-31" class="py-name"><a title="pytils.templatetags.pytils_translit.detranslify
pytils.translit.detranslify" class="py-name" href="#" onclick="doclink('link-31', 'detranslify', 'Function pytils.templatetags.pytils_translit.detranslify()=pytils.templatetags.pytils_translit-module.html#detranslify,Function pytils.translit.detranslify()=pytils.translit-module.html#detranslify'); return false;">detranslify</a></span></span><span class="py-op">,</span> <span class="py-number">25</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 71</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertRaises</span><span class="py-op">(</span><span class="py-name">ValueError</span><span class="py-op">,</span> <span id="link-32" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-32', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-33" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-33', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-34" class="py-name"><a title="pytils.templatetags.pytils_translit.detranslify
pytils.translit.detranslify" class="py-name" href="#" onclick="doclink('link-34', 'detranslify', 'Function pytils.templatetags.pytils_translit.detranslify()=pytils.templatetags.pytils_translit-module.html#detranslify,Function pytils.translit.detranslify()=pytils.translit-module.html#detranslify'); return false;">detranslify</a></span></span><span class="py-op">,</span> <span class="py-string">"&#1090;&#1077;&#1089;&#1090;"</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 72</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testSlug"></a><div id="TranslitTestCase.testSlug-def"><span class="py-lineno"> 73</span> <a class="py-toggle" href="#" id="TranslitTestCase.testSlug-toggle" onclick="toggle('TranslitTestCase.testSlug'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testSlug">testSlug</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testSlug-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testSlug-expanded"><span class="py-lineno"> 74</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 75</span>  <span class="py-line"><span class="py-docstring">        Unit-test for slugs</span> </span>
<span class="py-lineno"> 76</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 77</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-35" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckSlug" class="py-name" href="#" onclick="doclink('link-35', 'ckSlug', 'Method pytils.test.test_translit.TranslitTestCase.ckSlug()=pytils.test.test_translit.TranslitTestCase-class.html#ckSlug'); return false;">ckSlug</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1058;&#1077;&#1057;&#1090;"</span><span class="py-op">,</span> <span class="py-string">'test'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 78</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-36" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckSlug" class="py-name" href="#" onclick="doclink('link-36', 'ckSlug', 'Method pytils.test.test_translit.TranslitTestCase.ckSlug()=pytils.test.test_translit.TranslitTestCase-class.html#ckSlug'); return false;">ckSlug</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072; &#1089;&#1074;&#1103;&#1079;&#1080;"</span><span class="py-op">,</span> <span class="py-string">'proverka-svyazi'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 79</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-37" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckSlug" class="py-name" href="#" onclick="doclink('link-37', 'ckSlug', 'Method pytils.test.test_translit.TranslitTestCase.ckSlug()=pytils.test.test_translit.TranslitTestCase-class.html#ckSlug'); return false;">ckSlug</a></span></span><span class="py-op">(</span><span class="py-string">u"me&amp;you"</span><span class="py-op">,</span> <span class="py-string">'me-and-you'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 80</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-38" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckSlug" class="py-name" href="#" onclick="doclink('link-38', 'ckSlug', 'Method pytils.test.test_translit.TranslitTestCase.ckSlug()=pytils.test.test_translit.TranslitTestCase-class.html#ckSlug'); return false;">ckSlug</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1080; &#1077;&#1097;&#1077; &#1086;&#1076;&#1080;&#1085; &#1090;&#1077;&#1089;&#1090;"</span><span class="py-op">,</span> <span class="py-string">'i-esche-odin-test'</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 81</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testSlugExceptions"></a><div id="TranslitTestCase.testSlugExceptions-def"><span class="py-lineno"> 82</span> <a class="py-toggle" href="#" id="TranslitTestCase.testSlugExceptions-toggle" onclick="toggle('TranslitTestCase.testSlugExceptions'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testSlugExceptions">testSlugExceptions</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testSlugExceptions-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testSlugExceptions-expanded"><span class="py-lineno"> 83</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 84</span>  <span class="py-line"><span class="py-docstring">        Unit-test for testing slugify's exceptions</span> </span>
<span class="py-lineno"> 85</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 86</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertRaises</span><span class="py-op">(</span><span class="py-name">TypeError</span><span class="py-op">,</span> <span id="link-39" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-39', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-40" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-40', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-41" class="py-name"><a title="pytils.templatetags.pytils_translit.slugify
pytils.translit.slugify" class="py-name" href="#" onclick="doclink('link-41', 'slugify', 'Function pytils.templatetags.pytils_translit.slugify()=pytils.templatetags.pytils_translit-module.html#slugify,Function pytils.translit.slugify()=pytils.translit-module.html#slugify'); return false;">slugify</a></span></span><span class="py-op">,</span> <span class="py-number">25</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 87</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span class="py-name">assertRaises</span><span class="py-op">(</span><span class="py-name">ValueError</span><span class="py-op">,</span> <span id="link-42" class="py-name"><a title="pytils" class="py-name" href="#" onclick="doclink('link-42', 'pytils', 'Package pytils=pytils-module.html'); return false;">pytils</a></span></span><span class="py-op">.</span><span id="link-43" class="py-name"><a title="pytils.translit" class="py-name" href="#" onclick="doclink('link-43', 'translit', 'Module pytils.translit=pytils.translit-module.html'); return false;">translit</a></span></span><span class="py-op">.</span><span id="link-44" class="py-name"><a title="pytils.templatetags.pytils_translit.slugify
pytils.translit.slugify" class="py-name" href="#" onclick="doclink('link-44', 'slugify', 'Function pytils.templatetags.pytils_translit.slugify()=pytils.templatetags.pytils_translit-module.html#slugify,Function pytils.translit.slugify()=pytils.translit-module.html#slugify'); return false;">slugify</a></span></span><span class="py-op">,</span> <span class="py-string">"&#1090;&#1077;&#1089;&#1090;"</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 88</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testTranslifyAdditionalUnicodeSymbols"></a><div id="TranslitTestCase.testTranslifyAdditionalUnicodeSymbols-def"><span class="py-lineno"> 89</span> <a class="py-toggle" href="#" id="TranslitTestCase.testTranslifyAdditionalUnicodeSymbols-toggle" onclick="toggle('TranslitTestCase.testTranslifyAdditionalUnicodeSymbols'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testTranslifyAdditionalUnicodeSymbols">testTranslifyAdditionalUnicodeSymbols</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testTranslifyAdditionalUnicodeSymbols-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testTranslifyAdditionalUnicodeSymbols-expanded"><span class="py-lineno"> 90</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 91</span>  <span class="py-line"><span class="py-docstring">        Unit-test for testing additional unicode symbols</span> </span>
<span class="py-lineno"> 92</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno"> 93</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-45" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-45', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#171;&#1042;&#1086;&#1090; &#1090;&#1072;&#1082; &#1074;&#1086;&#1090;&#187;"</span><span class="py-op">,</span> <span class="py-string">'"Vot tak vot"'</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 94</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-46" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-46', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#8216;&#1048;&#1083;&#1080; &#1074;&#1086;&#1090; &#1090;&#1072;&#1082;&#8217;"</span><span class="py-op">,</span> <span class="py-string">"'Ili vot tak'"</span><span class="py-op">)</span> </span>
<span class="py-lineno"> 95</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-47" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckTransl" class="py-name" href="#" onclick="doclink('link-47', 'ckTransl', 'Method pytils.test.test_translit.TranslitTestCase.ckTransl()=pytils.test.test_translit.TranslitTestCase-class.html#ckTransl'); return false;">ckTransl</a></span></span><span class="py-op">(</span><span class="py-string">u"&#8211; &#1044;&#1072;&#8230;"</span><span class="py-op">,</span> <span class="py-string">"- Da..."</span><span class="py-op">)</span> </span>
</div><span class="py-lineno"> 96</span>  <span class="py-line">         </span>
<span class="py-lineno"> 97</span>  <span class="py-line"> </span>
<a name="TranslitTestCase.testSlugifyIssue10"></a><div id="TranslitTestCase.testSlugifyIssue10-def"><span class="py-lineno"> 98</span> <a class="py-toggle" href="#" id="TranslitTestCase.testSlugifyIssue10-toggle" onclick="toggle('TranslitTestCase.testSlugifyIssue10'); return false;">-</a><span class="py-line">    <span class="py-keyword">def</span> <a class="py-def-name" href="pytils.test.test_translit.TranslitTestCase-class.html#testSlugifyIssue10">testSlugifyIssue10</a><span class="py-op">(</span><span class="py-param">self</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="TranslitTestCase.testSlugifyIssue10-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="TranslitTestCase.testSlugifyIssue10-expanded"><span class="py-lineno"> 99</span>  <span class="py-line">        <span class="py-docstring">"""</span> </span>
<span class="py-lineno">100</span>  <span class="py-line"><span class="py-docstring">        Unit-test for testing that bug#10 fixed</span> </span>
<span class="py-lineno">101</span>  <span class="py-line"><span class="py-docstring">        """</span> </span>
<span class="py-lineno">102</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-48" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckSlug" class="py-name" href="#" onclick="doclink('link-48', 'ckSlug', 'Method pytils.test.test_translit.TranslitTestCase.ckSlug()=pytils.test.test_translit.TranslitTestCase-class.html#ckSlug'); return false;">ckSlug</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072; &#1089;&#1074;&#1103;&#1079;&#1080;&#8230;"</span><span class="py-op">,</span> <span class="py-string">'proverka-svyazi'</span><span class="py-op">)</span> </span>
<span class="py-lineno">103</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-49" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckSlug" class="py-name" href="#" onclick="doclink('link-49', 'ckSlug', 'Method pytils.test.test_translit.TranslitTestCase.ckSlug()=pytils.test.test_translit.TranslitTestCase-class.html#ckSlug'); return false;">ckSlug</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072;\x0a&#1089;&#1074;&#1103;&#1079;&#1080; 2"</span><span class="py-op">,</span> <span class="py-string">'proverka-svyazi-2'</span><span class="py-op">)</span> </span>
<span class="py-lineno">104</span>  <span class="py-line">        <span class="py-name">self</span><span class="py-op">.</span><span id="link-50" class="py-name"><a title="pytils.test.test_translit.TranslitTestCase.ckSlug" class="py-name" href="#" onclick="doclink('link-50', 'ckSlug', 'Method pytils.test.test_translit.TranslitTestCase.ckSlug()=pytils.test.test_translit.TranslitTestCase-class.html#ckSlug'); return false;">ckSlug</a></span></span><span class="py-op">(</span><span class="py-string">u"&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072;\201&#1089;&#1074;&#1103;&#1079;&#1080; 3"</span><span class="py-op">,</span> <span class="py-string">'proverkasvyazi-3'</span><span class="py-op">)</span> </span>
</div></div><span class="py-lineno">105</span>  <span class="py-line"> </span>
<span class="py-lineno">106</span>  <span class="py-line"><span class="py-keyword">if</span> <span class="py-name">__name__</span> <span class="py-op">==</span> <span class="py-string">'__main__'</span><span class="py-op">:</span> </span>
<span class="py-lineno">107</span>  <span class="py-line">    <span class="py-name">unittest</span><span class="py-op">.</span><span class="py-name">main</span><span class="py-op">(</span><span class="py-op">)</span> </span>
<span class="py-lineno">108</span>  <span class="py-line"> </span><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pytils-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">Generated by Epydoc
        3.0alpha3 on Sun Oct 29 00:35:03 2006</td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
